[INFO] cloning repository https://github.com/craig-coles/open-synth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/craig-coles/open-synth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraig-coles%2Fopen-synth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraig-coles%2Fopen-synth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96b25d1173679ea5aa9aa9ab29c695c47cdbd674
[INFO] fixing craig-coles/open-synth against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraig-coles%2Fopen-synth" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/craig-coles/open-synth
[INFO] finished tweaking git repo https://github.com/craig-coles/open-synth
[INFO] tweaked toml for git repo https://github.com/craig-coles/open-synth written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/craig-coles/open-synth on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/craig-coles/open-synth already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d88f806aebfa885d88cb0e4bd8e46e213f157e702e438f5b7e4d0c4e3c68ced9
[INFO] running `Command { std: "docker" "start" "d88f806aebfa885d88cb0e4bd8e46e213f157e702e438f5b7e4d0c4e3c68ced9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d88f806aebfa885d88cb0e4bd8e46e213f157e702e438f5b7e4d0c4e3c68ced9" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d88f806aebfa885d88cb0e4bd8e46e213f157e702e438f5b7e4d0c4e3c68ced9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d88f806aebfa885d88cb0e4bd8e46e213f157e702e438f5b7e4d0c4e3c68ced9" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]    Compiling cpal v0.16.0
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]     Checking alsa v0.9.1
[INFO] [stderr]     Checking midir v0.10.2
[INFO] [stderr]     Checking rust-synth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/audio_output.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/main.rs:39:11
[INFO] [stdout]      |
[INFO] [stdout]   28 |     let _audio_output = match AudioOutput::new(Arc::clone(&synth_engine)) {
[INFO] [stdout]      |         -------------
[INFO] [stdout]      |         |
[INFO] [stdout]      |         `_audio_output` calls a custom destructor
[INFO] [stdout]      |         `_audio_output` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]   39 |     match midi_input::MidiInputHandler::new() {
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |           |
[INFO] [stdout]      |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]   69 | }
[INFO] [stdout]      | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:1411:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.2/src/backend/alsa/mod.rs:514:1
[INFO] [stdout]      |
[INFO] [stdout]  514 | impl<T> Drop for MidiInputConnection<T> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `_audio_output` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cpal-0.16.0/src/host/alsa/mod.rs:1018:1
[INFO] [stdout]      |
[INFO] [stdout] 1018 | impl Drop for Stream {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/audio_output.rs:73:72
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     println!("🎵 Audio running... {} frames processed", FRAME_COUNT);
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/main.rs:39:11
[INFO] [stdout]      |
[INFO] [stdout]   28 |     let _audio_output = match AudioOutput::new(Arc::clone(&synth_engine)) {
[INFO] [stdout]      |         -------------
[INFO] [stdout]      |         |
[INFO] [stdout]      |         `_audio_output` calls a custom destructor
[INFO] [stdout]      |         `_audio_output` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]   39 |     match midi_input::MidiInputHandler::new() {
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |           |
[INFO] [stdout]      |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]   69 | }
[INFO] [stdout]      | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:1411:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/midir-0.10.2/src/backend/alsa/mod.rs:514:1
[INFO] [stdout]      |
[INFO] [stdout]  514 | impl<T> Drop for MidiInputConnection<T> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `_audio_output` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cpal-0.16.0/src/host/alsa/mod.rs:1018:1
[INFO] [stdout]      |
[INFO] [stdout] 1018 | impl Drop for Stream {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/audio_output.rs:73:72
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     println!("🎵 Audio running... {} frames processed", FRAME_COUNT);
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.45s
[INFO] [stderr] crater-edition-check: rust-synth v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking rust-synth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DeviceTrait`, `HostTrait`, and `StreamTrait`
[INFO] [stdout]  --> src/audio_engine.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
[INFO] [stdout]   |                    ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StreamConfig` and `Stream`
[INFO] [stdout]  --> src/audio_engine.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cpal::{Stream, StreamConfig};
[INFO] [stdout]   |            ^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]  --> src/audio_engine.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::error`
[INFO] [stdout]  --> src/audio_output.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::error;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Host` and `SupportedStreamConfig`
[INFO] [stdout]  --> src/audio_output.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cpal::{Device, Host, Stream, StreamConfig, SupportedStreamConfig};
[INFO] [stdout]   |                    ^^^^                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DeviceTrait`, `HostTrait`, and `StreamTrait`
[INFO] [stdout]  --> src/audio_engine.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
[INFO] [stdout]   |                    ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StreamConfig` and `Stream`
[INFO] [stdout]  --> src/audio_engine.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cpal::{Stream, StreamConfig};
[INFO] [stdout]   |            ^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]  --> src/audio_engine.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::error`
[INFO] [stdout]  --> src/audio_output.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::error;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Host` and `SupportedStreamConfig`
[INFO] [stdout]  --> src/audio_output.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cpal::{Device, Host, Stream, StreamConfig, SupportedStreamConfig};
[INFO] [stdout]   |                    ^^^^                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-synth` (bin "rust-synth") due to 1 previous error; 14 warnings emitted
[INFO] [stdout] warning: function `test_audio_init` is never used
[INFO] [stdout]   --> src/main.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn test_audio_init() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: method `set_frequency` is never used
[INFO] [stdout]   --> src/audio.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Oscillator {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn set_frequency(&mut self, frequency_hz: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sample_rate` is never read
[INFO] [stdout]   --> src/audio_engine.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct SynthEngine {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout]  9 |     oscillators: Vec<Oscillator>,
[INFO] [stdout] 10 |     sample_rate: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_oscillator_active` is never used
[INFO] [stdout]   --> src/audio_engine.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl SynthEngine {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn is_oscillator_active(&self, oscillator: &Oscillator) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STANDARD_SAMPLE_RATE` is never used
[INFO] [stdout]  --> src/constants.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const STANDARD_SAMPLE_RATE: f32 = 44_100.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIDDLE_C_MIDI_NOTE` is never used
[INFO] [stdout]  --> src/midi.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const MIDDLE_C_MIDI_NOTE: u8 = 60;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_MIDI_NOTE` is never used
[INFO] [stdout]  --> src/midi.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const MIN_MIDI_NOTE: u8 = 0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MIDI_NOTE` is never used
[INFO] [stdout]  --> src/midi.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MAX_MIDI_NOTE: u8 = 127;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `velocity` is never read
[INFO] [stdout]  --> src/midi_input.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     NoteOff { note: u8, velocity: u8 },
[INFO] [stdout]   |     -------             ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MidiMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/audio_output.rs:73:72
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     println!("🎵 Audio running... {} frames processed", FRAME_COUNT);
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_audio_init` is never used
[INFO] [stdout]   --> src/main.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn test_audio_init() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_frequency` is never used
[INFO] [stdout]   --> src/audio.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Oscillator {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn set_frequency(&mut self, frequency_hz: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sample_rate` is never read
[INFO] [stdout]   --> src/audio_engine.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct SynthEngine {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout]  9 |     oscillators: Vec<Oscillator>,
[INFO] [stdout] 10 |     sample_rate: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_oscillator_active` is never used
[INFO] [stdout]   --> src/audio_engine.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl SynthEngine {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn is_oscillator_active(&self, oscillator: &Oscillator) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STANDARD_SAMPLE_RATE` is never used
[INFO] [stdout]  --> src/constants.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const STANDARD_SAMPLE_RATE: f32 = 44_100.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIDDLE_C_MIDI_NOTE` is never used
[INFO] [stdout]  --> src/midi.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const MIDDLE_C_MIDI_NOTE: u8 = 60;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_MIDI_NOTE` is never used
[INFO] [stdout]  --> src/midi.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const MIN_MIDI_NOTE: u8 = 0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MIDI_NOTE` is never used
[INFO] [stdout]  --> src/midi.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MAX_MIDI_NOTE: u8 = 127;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `velocity` is never read
[INFO] [stdout]  --> src/midi_input.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     NoteOff { note: u8, velocity: u8 },
[INFO] [stdout]   |     -------             ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MidiMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/audio_output.rs:73:72
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     println!("🎵 Audio running... {} frames processed", FRAME_COUNT);
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-synth` (bin "rust-synth" test) due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d88f806aebfa885d88cb0e4bd8e46e213f157e702e438f5b7e4d0c4e3c68ced9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d88f806aebfa885d88cb0e4bd8e46e213f157e702e438f5b7e4d0c4e3c68ced9", kill_on_drop: false }`
[INFO] [stdout] d88f806aebfa885d88cb0e4bd8e46e213f157e702e438f5b7e4d0c4e3c68ced9
